﻿using System;
using Echo.Context.UltiProNet.Contexts;
using Echo.Core.Common;
using Echo.Core.TestAbstraction.WebUITest.MbUnit;
using Echo.Models.UltimateSoftware.WebUITest.MbUnit;
using MbUnit.Framework;

////*************************************************************************************************************************************
////Created by: 
////Date created: 
////Modified by: 
////Date modified: 
////Reason: 
////ULTI-00000 JIRA Description.
////*************************************************************************************************************************************

namespace Echo.Automation.Payroll.W2_Print_Approval
{
    using Echo.Models.UltimateSoftware.WebUITest.MbUnit;

    [TestFixture]
    [Author("David Mello", "david_mello@ultimatesoftware.com")]
    [Category("W2 Print Approval")]
    [Release("10.7.2")]
    [Header("Config")]
    [Config(".NET")]
    public class OneStepYeW2ReconcillationFunc : MbUnitAutomatedTest
    {
        UltiPro _ultiPro;
        UltiProDatabaseContext _database;

        [FixtureSetUp]
        public void FixtureSetUp()
        {
            _ultiPro = Launch<UltiPro>();
            _database = Init<UltiProDatabaseContext>();
            _database.Company = ConfigDatabase("<Db name>",
                new SqlServer { Name = "<Db Server>", UserName = "<Db user id>", Password = "<Db password>" });
            _ultiPro.Login.LoginAs("<insert login username>", "<insert login password>", Config.LanguageCode);
        }

        [FixtureTearDown]
        public void FixtureTearDown()
        {
            _ultiPro.Browser.Quit();
        }

        [SetUp]
        public void SetUp()
        {
        }

        [TearDown]
        public void TearDown()
        {
        }

        [Test]
        public void Test1()
        {
        }

        [Test]
        public void Test2()
        {
        }
    }
}
